<script setup>
import {ref} from "vue"
const counter=ref(0)
const clickme=()=>{
  counter.value++
}
const reset=()=>{
  counter.value=0
}
</script>
<template>
  <div class="wrapper"> 
  <button id="me" @click="clickme">点击我</button>
  <button id="me2" @click="reset">重置我</button>
  <label for="me">{{ counter }}</label>
  </div>
</template>
<style>
</style>